<?php
declare (strict_types = 1);

namespace app\admin\validate;

use think\Validate;

class Access extends Validate
{

	protected $rule = [
        'name'          =>  ['require','min'=>2,'max'=>25],
        //'controller'    =>  ['require'],
    ];

    protected $message = [
        'name'          =>  '名称不能为空,并且长度是2到25',
        //'controller'    =>  '控制器不能为空'
    ];
}
